-- GENERATED SPELL FOR [North Fleet Soldier] --


function spell0_23793(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(32736,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23793', 5326, 1)
end

function spell1_23793(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(12054,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23793', 15000, 1)
end

function Sorts_23793(pUnit, Event)
local choix_sorts_23793 = math.random(0, 1)
if choix_sorts_23793 == 0 then
pUnit:RegisterEvent('spell0_23793', 1, 1)
end
if choix_sorts_23793 == 1 then
pUnit:RegisterEvent('spell1_23793', 1, 1)
end
end

function mob23793_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23793', math.random(1500, 3000), 1)
end

function mob23793_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23793_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23793_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23793, 1, 'mob23793_Action')
RegisterUnitEvent(23793, 2, 'mob23793_Leave')
RegisterUnitEvent(23793, 3, 'mob23793_Kill')
RegisterUnitEvent(23793, 4, 'mob23793_Die')
